package com.tjp.subject.domain.service;

import com.tjp.subject.domain.entity.SubjectCategoryBO;
import com.tjp.subject.infra.basic.entity.SubjectCategory;

import java.util.List;

/**
 * @program: jz-club
 * @description:
 * @author: aaronTang
 * @create: 2024-02-22
 */
public interface SubjectCategoryDomainService {

    /**
     * 添加
     * @param subjectCategoryBO
     */
    void insert(SubjectCategoryBO subjectCategoryBO);

    /**
     * 查询接口分类
     * @return
     */
    List<SubjectCategoryBO> queryCategory(SubjectCategoryBO subjectCategoryBO);

    /**
     * 更新分类
     * @param subjectCategoryBO
     * @return
     */
    int update(SubjectCategoryBO subjectCategoryBO);

    /**
     * 删除分类
     * @param subjectCategoryBO
     * @return
     */
    int delete(SubjectCategoryBO subjectCategoryBO);


}
